import { setSearchHistory, getSearchHistory } from '@/utils/storage'
export default {
    namespaced: true,
    state() {
        return {
            searchData: getSearchHistory()
        }
    },
    mutations: {
        setSearchDate(state, obj) {
            state.searchData = obj
            setSearchHistory(obj)
        }
    },
    actions: {

    },
    getters: {

    }

}